/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.letmeshare.stockkeeper.view.login;

import java.awt.Event;

/**
 *
 * @author abin
 */
public class LoginEvent extends Event {

    private String userName;
    private char[] password;

    public LoginEvent(Object target, long when, int id, int x, int y, int key, int modifiers, Object arg, String username, char[] password) {
        super(target, when, id, x, y, key, modifiers, arg);
        this.userName = username;
        this.password = password;
    }

    public LoginEvent(Object target, long when, int id, int x, int y, int key, int modifiers, String username, char[] password) {
        super(target, when, id, x, y, key, modifiers);
        this.userName = username;
        this.password = password;
    }

    public LoginEvent(Object target, int id, Object arg, String username, char[] password) {
        super(target, id, arg);
        this.userName = username;
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public char[] getPassword() {
        return password;
    }

   
}
